<script setup lang="ts">
import { RouterLink, RouterView } from 'vue-router'
import HelloWorld from './components/HelloWorld.vue'
</script>

<template>
  <nav>
        <RouterLink to="/">Home</RouterLink>
        <RouterLink to="/about">About</RouterLink>
        <RouterLink to="/Login">登录</RouterLink>
        <RouterLink to="/AddKeShi">添加科室</RouterLink>
        <RouterLink to="/KeShiShow">科室列表</RouterLink>
        <RouterLink to="/AddYiSheng">添加医生</RouterLink>
        <RouterLink to="/ShowYiSheng">医生列表</RouterLink>
        <RouterLink to="/Addbingfang">添加病房</RouterLink>
        <RouterLink to="/Showbingfang">病房列表</RouterLink>
        
      </nav>

  <RouterView />
</template>

<style scoped>
a{
  margin: 0 10px;
}
</style>
